upgrade to a more error-prone version and with options for JSON.stringify