Currently the route CLI takes YAML (which JSON is a subset of); for serializing back out (for example for request format_type) types are essentially 'double' annotated as yaml & json as serializing back as json.
This ticket is to either migrate to JSON or possibly HJSON which should simplify serialization logic.
Also makes it simpler to use JSON schema in future for request validation.