Using hashmap for fromPersistValue.