protected function setDataEditSettings()
    {
        foreach (array('settings.tags', 'settings.protocols') as $field) {

            $data = $this->getData($field);

            if (is_array($data)) {
                $this->setData($field, implode(',', $data));
            }
        }
    }