Convert querystring to hashstring for exporting

Moved methods to Visualizer