allow getting aggregate pipelines in json format