Escape characters added when submitting synthetic HTTP POST call with json request body

You can manipulate and set the request body in pre-request scripts using

request.setBody(requestBody)

using Pre- and post-execution scripts for HTTP monitors in Classic — Dynatrace Docs