LPS-37836 fix and make consistent export/import of entities from the global group