public function serializePayload() { return ['documentContextPath' => $this->getDocument()->getContextPath(), 'workspaceName' => $this->getDocument()->getContext()->getWorkspace()->getName(), 'workspaceInfo' => $this->workspaceService->getPublishableNodeInfo($this->getDocument()->getContext()->getWorkspace())]; }