restore json pretty print