def preprocess(self):
super(MambuGroup,self).preprocess()<EOL>try:<EOL><INDENT>for k,v in self['<STR_LIT>'].items():<EOL><INDENT>self[k] = v<EOL><DEDENT>del(self.attrs['<STR_LIT>'])<EOL><DEDENT>except Exception as e:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>self['<STR_LIT>'] = self['<STR_LIT>'].replace("<STR_LIT>", "<STR_LIT>").replace("<STR_LIT>", "<STR_LIT>")<EOL><DEDENT>except Exception as e:<EOL><INDENT>self['<STR_LIT>'] = "<STR_LIT>"<EOL><DEDENT>try:<EOL><INDENT>self['<STR_LIT:name>'] = self['<STR_LIT>']<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>
Preprocessing.

        Flattens the object. Important data comes on the 'theGroup'
        dictionary inside of the response. Instead, every element of the
        'theGroup' dictionary is taken out to the main attrs dictionary.

        Notes on the group get some html tags removed.

.. todo:: use mambuutil.strip_tags() method

        A 'name' field is added, equivalent to the 'groupName' field.
        This is useful on loan accounts. They get a 'holder' field added
        somewhere, which may be an individual client, or a group. So to
        get the holder name, you just access the 'holder'['name']. No
        matter if you have a client loan or a group loan, you get the
        name of the holder.