Remove extraneous comma in JSON