make erlang->json->erlang transcoding more intuitive
improve erlang->json->erlang mappings