Escape a json value string
The "abc\n123" will be escaped as "abc\\n123"
https://tools.ietf.org/html/rfc7159#page-8
https://stackoverflow.com/questions/3020094/how-should-i-escape-strings-in-json?noredirect=1&lq=1
See Implementation
Escape a json value string