On my current project, we've had to do a lot with requests that return JSON for the dynamic form elements. Normally, I would disable the view (so I didn't need another blank file hanging around), disable the layout, and then echo out the results of json_encode(). It turns out that Zend has a build in function to do this in one command from the Controller:

$this->_helper->json($data, true);