serializeMap