Upgrade json format.