/**
  * {@inheritdoc}
  */
 public function formatResponseData(AjaxChoiceLoaderInterface $choiceLoader)
 {
     $view = $this->choiceListFactory->createView($choiceLoader->loadPaginatedChoiceList(), null, $choiceLoader->getLabel());
     return array('size' => $choiceLoader->getSize(), 'pageNumber' => $choiceLoader->getPageNumber(), 'pageSize' => $choiceLoader->getPageSize(), 'search' => $choiceLoader->getSearch(), 'items' => FormatterUtil::formatResultData($this, $view));
 }