code: function safeStringify(v) {
  	return JSON.stringify(v).replace(charsToEncode,
  		function(c) {
  			return '\\u' + ('000' + c.charCodeAt(0).toString(16)).slice(-4);
  		}
  	);
  }
docs: Stringifies a JSON object and make it header-safe by encoding
  non-ASCII characters.
  
  @param {Object} v - JSON object to stringify
  @returns {String} the stringified object with special chars encoded
  
  @see https://www.dropboxforum.com/t5/API-support/HTTP-header-quot-Dropbox-API-Arg-quot-could-not-decode-input-as/td-p/173822