Added JSON pretty-printing.