Fix persistence API,
it expecited a view dictionary not a dictionary of view promises