Fixed summarized.json and grouped.json generation