more readable dump of query