change json file format