removed the need for multivalued field keys as seperate types by using wrapper functions for transforming collections