Added expand/shrink query with pretty print and code highlighting for easy reading