Similarly to https://github.com/OO-LD/oold-python the osw.data.import_utility.HelperModel.transform_references or the .cast_to_superclass method should replace pointers to instances of OswBaseModel (subclasses) with IRIs returned by Entity.get_iri() prior to casting to the target class -> this would allow user to effortlessly upload the casted instances without treating attributes of the type "string" format "autocomplete" by hand