HACK: if a element is inside of a choice tag with maxOccurs="unbounded" then use {multiple: true}