Clean up trailing commas on JSON because Javascript is fond of being annoying