fixed deserialization of key for map