Process collections, arrays, primitives and complex types in different way