Removing an outdated json generation prior to the grouping technique