Fixing a problem with the rendering of zend framework responses