Fix for json compare, and default pretty print.