Add util to enable json pretty print