Initial attempt to fix Issue #17: "remove differences between `jsesc(data, { json: true })` and `JSON.stringify(data)"

Also please follow the existing coding style (single quotes for strings, etc.).