Better test for json pretty-printing
do not need json any more