Creating objects of arrray type should be of dictionary type
Adding aggregation support and testing