Fix malformed geojson

There were commas at the ends of arrays which is incorrect geojson.