process raw dox output into groups