dynamic way to convert adapter params into cli options, which serialize into the query