update json data to match new format.