RelationChoice fields as UUID and not UID

Hi, I’m migrating senaite.sampleimporter to 2.x and looking to convert reference fields dexterity’s RelationChoice but reference fields use UIDs and RelationChoice use uuids. This leads to issues wrt the API’s get_object_by_uid. Has anyone overcome this?