exported the map to json