removed trailing commas that break JSON parsers