Add map-to-string function