If you do not have nested options (i.e., if the options are only one level deep), just use `iterator_to_array` here.