The "collect" final function passes the geometry[] to a geometrycollection conversion before returning the result.