Added CJSON conversion for Yii error handler