curl --location '/JSONEscape' \ --header 'Content-Type: text/plain' \ --data '{"key":"value"}'
{ "ToJsonEscape": "{\\\"key\\\":\\\"value\\\"}" }