Unable to format JSON data to call 3rd party webservice

I think this is an editor alert and not something that will break your code.
If instead of

newData = JSON.stringify(newData);

You’ll use:

const newDataJson = JSON.stringify(newData);
//..
body: newDataJson,
//....

You won’t see it.