'Handles a single row in one of the tables in RekallResponse.'

def _HandleTableRow(self, metadata, context_dict, message, output_class):

    attrs = {}
    for (key, value) in message[1].iteritems():
        if hasattr(output_class, key):
            attrs[key] = utils.SmartUnicode(self._RenderObject(value))
    result = output_class(**attrs)
    result.metadata = metadata
    try:
        result.section_name = self._RenderObject(context_dict[self.REKALL_MESSAGE_SECTION]['name'])
    except KeyError:
        pass
    return result
