Format queries nicely and consistently.