Fixed php error in 5.3 RE undefined JSON_PRETTY_PRINT