public function send()
{
/* By default, the response is sent JSON encoded.
*
* Make sure no null bytes sneak into the JSON output stream. Null
* bytes cause IE to stop reading from the input stream, causing
* malformed JSON data and a failed request. These bytes don't
* seem to break any other browser, but might as well remove them
* anyway. */
header('Content-Type: application/json');
echo str_replace("", '', Horde_Serialize::serialize($this->data, Horde_Serialize::JSON));
}