finalizes output format expected for the contest.  see help for details in dupfind or dupfind-threaded