Fix JSON parse error

Trailing commas will trip up most JSON parsers
Merge pull request #2 from tmcw/patch-1

Fix JSON parse error