correct the doc for obtaining formatted json

was "?pretty" should be "?pretty=1"