Got multi-API call query logging working
Added rendering of ScanSpec queries in HQL