converted maps to a dictionary