public function getAsJson() { $driver = new JsonDriver($this->toArray()); return $driver->getString(); }