Fixed: JSON_PRETTY_PRINT constant not available in PHP < 5.4.0