public function toJSON()
    {
        $result = array('_id' => $this->getId(), '_key' => $this->getKey(), '_rev' => $this->getRevision());

        return json_encode(array_merge($result, $this->_data), JSON_FORCE_OBJECT);
    }