Implement Accept headers
The web api current takes "out" as a parameter to define the return type. This should be implemented as a content type defined in the Accept header from the client. See:
For ease of access with clients that set their own Accept types, the "out" parameter should continue to be accepted, but the name should change to something more sensible, like "type".