nicer pretty print for tree context