Modifying example to allow for both json and text formats

and regenerating the non-TTY text output example just in case I
converted it wrong.