fixed json dump error
Changed grouping for filters