I seem to recall a question about pretty printing JSON when we last met, and I had said I had done this. Apparently I used this: https://metacpan.org/pod/JSON I have a simple example in my Catalyst version of PieNg: https://github.com/thowe/PieNg/blob/master/lib/PieNg/Controller/Logs.pm#L47 --TimH