beautifying query output