Fix string escaping error resulting in bad JSON

The original library over-aggressively escapes some things, such as the
single quote. This brings the logic in-line with the latest iOS library
Merge pull request #1 from randydailey/master

Fix outstanding issue with out-of-spec JSON parsing (issue was present in the original iOS library)