Work on OPAL-2552: Attributes of variables and categories are lost after upgrading opal