updated parser for safer handling of output generated with --allhits