private function getOldFacetParams(array $facetBuilders)
    {
        $facetParamsGrouped = array_map(
            function ($facetBuilder) {
                return $this->facetBuilderVisitor->visitBuilder($facetBuilder, spl_object_hash($facetBuilder));
            },
            $this->filterOldFacetBuilders($facetBuilders)
        );

        return $this->formatOldFacetParams($facetParamsGrouped);
    }