getCollectionClass for Object