Forces type information (xsi:type/xmi:type) to be serialized for references
in cases where the object's type is different from the feature's type,
except for the case of the eStructuralFeatures of an EClass,
because for that case, an EMOF Property instance will be serialized
and no xsi:type is needed for EMOF for that.