Format results (trec,txt,csv,tsv,json,xml)