protected function getDataList(FormConfigInterface $config)
    {
        $converter = $this->converterRegistry->get($config->getConverter());
        $dataList = $converter->convert((string) $this->request->getContent());

        if ($config instanceof FormConfigListInterface) {
            try {
                $dataList = $config->findList($dataList);
            } catch (InvalidResourceException $e) {
                throw new InvalidResourceException($this->translator->trans('form_handler.results_field_required', [], 'FxpResource'));
            }
        } else {
            $dataList = [$dataList];
        }

        return $dataList;
    }