When you encode JSON and send it from a function, it will always be escaped, as you see here. This allows sending data that includes special JSON characters (ie if you wanted to send data that included " characters), and is a security feature.
It is a simple matter of decoding the string into a JSON object in your endpoint (ie JSON.parse() in javascript)