That's why GP mentioned the Accept header, the client can choose at runtime which one it wants.