This should be the only place where the grouping happens like this. Then there is file reporters that have a `FileReportModel` where we can encapsulate the logic required for grouping (but in the aggregated story context which is going to be different from this one).