The issue is that mapping snapshots internally use the technical (non-persistent) MappingId as qualifier. These IDs change when importing the mappings via Lua compartment import, even their (persistent) keys are the same. When exporting the session again (via JSON), we see that all snapshots are gone.