Added -p option for pretty-printing.