Fix trailing comma that breaks JSON parsing.