Fix JSON: trailing commas are disallowed