Fix trailing comma in JSON