refactor(options) change OptionToString to options.toParameters