Query can specify which fields can have sub aggregations (aggsBy array)