load_entities: handle polymorphic and reverse relations [applied]