Debugging DecodeError in jenkins pipeline

I am passing a \server1\folder1\ unc path parameter to jenkins pipeline
I have used ‘'’'server1’'folder’' as an argument in the build phase and that gets passed on as '\server1\folder1' in my shell script
Although in my shell script, when I am using curl -d statement to trigger an ansible template; it is giving me a decodeerror as below.
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/miniconda3/lib/python3.9/json/”, line 293, in load
return loads(,
File “/usr/lib/miniconda3/lib/python3.9/json/”, line 346, in loads
return _default_decoder.decode(s)
File “/usr/lib/miniconda3/lib/python3.9/json/”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/miniconda3/lib/python3.9/json/”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

My curl statement is as below:
response_id=(curl -f -i -s -k -H 'Content-Type: application/json' -d "{"extra_vars": {"frequency":"'"{Frequency}“'”}, {“destn”:""'{Destination}'\""}}" --user {uname}:{passwd} -X POST https://stage-ansible/api/v2/job_templates/{templateId}/launch/ | python -c “import json,sys;obj=json.load(sys.stdin);print(obj[‘job’]);”)

I see the issue as only with backslash and spaces and not for any normal comment.