/**
  * Delivers a JSON response with keywords from the page ID
  */
 public function getKeywords()
 {
     $id = $this->getVal('id');
     if (empty($id)) {
         throw new Exception('Please provide an ID');
     }
     $searchConfig = F::build('WikiaSearchConfig');
     $searchConfig->setPageId($id);
     $responseData = $this->wikiaSearch->getKeywords($searchConfig);
     $this->response->setData($responseData);
     $this->response->setFormat('json');
 }