public function jsonSerialize() { return ['title' => $this->title, 'component' => $this->component, 'componentOptions' => $this->componentOptions, 'slideOptions' => $this->slideOptions]; }