There is no problem. It's just your console.log
that shows all strings by simply delimiting with "
.
As you say this request
object is used in a JSON request, where it will be JSON.stringify
ed another time, with the valid result
{"t":"{\"a\":1,\"b\":\"a sample text\"}","c":2,"r":"some text"}