support mapping from {NSArray, NSOrderedSet, NSSet} to {NSArray, NSOrderedSet, NSSet}