fixes some Zend_Json and some params