Introduced IEntityContextProducer to create a context for serialized
objects