Merge QueryResultAPI with CSVQueryResultAPI