Recursive serialization of a selection. The selection and all the dependencies are serialized. All entities that need to be saved (added in EntitiesToBeSerialized set) for the completeness of the archive are added to the queue of entities to Serialized (NotYetSerialized).