Your JSON is invalid. You said you cannot change it, which is unsuccessful.
It looks like he was two-line, but then the most distant quotes were stopped. If so, you can fix it by adding "at each end and then parsing it twice, for example:
var str = '{\\"value1\\":\\"XYZ\\",\\"value2\\":\\"ZYX\\"}';
str = '"' + str + '"';
var obj = JSON.parse(JSON.parse(str));
console.log(obj);
Run code, , .
, /JSON.
JSON ("), escape-. ( \).
JSON ( ), .:-) , , . JSON , JSON .