fixed an issue with upgradeVGs not being taken to JSON