move merge-load Entity id map into entity.c, revert Deserializer