toObject() {
    const { base, format, capture } = this
    return { base, format, capture }
  }
Returns a new object based on RouteBuilder instance containing its base, format and capture properties.

@returns {object} Object containing base, format and capture properties of the RouteBuilder instance