formatter: filter empty categories