Eventually it would be nice to have the same functionality for other extensions as well ie https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/issues/263