return keyword's control configuration, followed after '!epics' notation
        :param kw: keyword name
        :param fmt: return format, 'raw', 'dict', 'json', default is 'dict'

def getKwCtrlConf(self, kw, fmt='dict'):
        """ return keyword's control configuration, followed after '!epics' notation
        :param kw: keyword name
        :param fmt: return format, 'raw', 'dict', 'json', default is 'dict'
        """
        try:
            confd = self.ctrlconf_dict[kw]
            if fmt == 'dict':
                retval = confd
            else:  # 'json' string for other options
                retval = json.dumps(confd)
        except KeyError:
            # try to get from raw line string
            self.getKw(kw)
            if self.confstr_epics != '':
                if fmt == 'dict':
                    retval = ast.literal_eval(self.confstr_epics)
                elif fmt == 'json':
                    retval = json.dumps(ast.literal_eval(self.confstr_epics))
                else:  # raw string
                    retval = self.confstr_epics
            else:
                retval = None

        return retval