remove extra comma in json object