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

The original library over-aggressively escapes some things, such as the
single quote. This brings the logic in-line with the latest iOS library