<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getKwAsDict(self, kw):
 """ return keyword configuration as a dict Usage: rdict = getKwAsDict(kw) """

        self.getKw(kw)
        return self.str2dict(self.confstr)