Removed trailing commas in json.