- support converting arrays as well as iterables