foreign objects are not properly removed in finalizeLoad()
They are still known by idToEObjectMap (and intrinsicIDToEObjectMap ?) and therefor found by getEObjectByIDInNeighbors() after the resource has been finalized. Must also review use of maps in resource (which one are needed ?). Also put CimObjectWithID in this module (this is linked to previous point).