Added shortcuts to pretty format XML and JSON buffers