Add JSON support for way/full.
Rewrite `render_ways` to use the new style of document creation.
Rewrite `render_relations` to use the new style of document creation.
JSON support for relation/full call.
Added JSON support for map call.