I think recordStore.getMapEntryData should always return Data, getMapEntryObject should always return Object. We can check the in-memory-format configuration then either call getMapEntryData or getMapEntryObject.

Otherwise, it is confusing that getMapEntryData returns Object.