decoupled EntryInterface from serialization and DBAL