I really like how this clean things up.  The downside is that it's obfuscates the request, in some cases being more explicit with `json_response`, `xml_response` is far clearer.

For the scope of this project this is fine