Fix DocumentPersister - check mappings (reference)