Safely stringify a JSON object
The arguments to pass to JSON.stringify
An object containing both the stringified JSON and the error if there was one
Safely stringify a JSON object