`json` in strict mode does not allow literal newlines (or other control characters) in json strings unless `strict` is `False` We should probably mimic this behaviour, and support strict/not-strict modes.