Remove extraneous commas

These were preventing the file from validating.
Encoding newlines as \\n

Newlines are not permitted in JSON—they have to be encoded and escaped.