code: function () {
          var obj = PropertyBase.toJSON(this);
  
          // remove header array if blank
          if (_.isArray(obj.header) && !obj.header.length) {
              delete obj.header;
          }
  
          return obj;
      }
docs: Converts the Request to a plain JavaScript object, which is also how the request is
  represented in a collection file.
  
  @returns {{url: (*|string), method: *, header: (undefined|*), body: *, auth: *, certificate: *}}