do json serialization for maps
this required pulling in parts of the Jackson JAVA JSON library