expands return type of collections with generic types