updated DataDealer to do less unzipping on queries