public function fieldsAction(Request $request)
    {
        $locale = $this->getRequestParameter($request, 'locale', true);

        return $this->handleView(
            $this->view(array_values($this->getManager()->getFieldDescriptors($locale)), 200)
        );
    }