Added version conditional for JSON_PRETTY_PRINT constant