Add /api/query documentation
Add /api/query output format information to JSON serializer docs