unclear what was meant with this. Still we do doubt, that an api is returning an invalid JSON.
However a repair strategie with regex.replace could look like this:
[CheatSheet] - System.Text.RegularExpressions | RegEx - News / Tutorials - UiPath Community Forum