$dataArray['bodytext'] = is_object($this->body) ? $this->body->__toString() : $this->body;