remove extra comma in json file.