docs: function makeOptions(options, value) {
      var opts = jsprim.deepCopy(options);
  
      // Defaults handlers
      opts.req_id = options.req_id || libuuid.create();
      opts.etag = (options.etag !== undefined) ? options.etag : options._etag;
      opts.headers = options.headers || {};
      opts.no_count = options.no_count || false;
      opts.sql_only = options.sql_only || false;
      opts.noCache = true;
  
      // Including the stringified value is redundant, but older versions of
      // moray depend upon the _value field being populated in this way.
      if (value)
          opts._value = JSON.stringify(value);
  
      if (typeof (options.noCache) !== 'undefined')
          opts.noCache = options.noCache;
  
      return (opts);
  }