5.3 compatibility replacement for JSON_PRETTY_PRINT