Add an option to allow pretty-printing result