That's taken care of by `JSON.stringify`:

```js
JSON.stringify({string:'something\nreally\nlong'})
// => '{"string":"something\\nreally\\nlong"}'
```

so the previous implementation already handled this