Is it stupid to have a REST API return a different JSON structure based on the value of a query parameter?
—pgxner