adding pickOneOf to work with lists, arrays and enums