rewrite group queries to aggregation pipeline. faster.