Fixed serialization bug. read_map was being instantiated with a string pair.