Fix JSON parse error

Trailing commas will trip up most JSON parsers