replace json pretty print by version included in php core