Collection.toArray method is now recursive