Looking at the type def for package groups/categories, there is an "id" attribute that's part of the unit key. So assuming this notation for accessing it works (which I still suspect doesn't), we'll be destroying part of the unique key for the unit.