Fixed an issue with backslash escaped characters where writing the JSON caused the escaping backslashes to be escaped, creating invalid JSON.
Fixed line endings when writing JSON.
Merge pull request #366 from djmike/json_escape_fix

JSON Backslash Escape Issue