remove trailing comma in json api example