Create translation method for map data type