Added extensive tests for json_map