If the raw json data has unescaped newline characters within a string value, escape them, allowing json_decode to parse the encoded data.
Merge pull request #2 from eblount/master

Escape newline chars within encoded string values.