Changed prettyPrintJson to a filter