Support both HTML and XML output in GReQLConsole