@staticmethod
def dictify_history_entry(entry):
    """Turn XML history into a dictionary"""
    output = entry.attrib
    fields = {}
    for field in entry:
        kind = field.attrib['name']
        if kind != 'last_modified':
            fields[kind] = {'old_value': field.attrib['old_value'],
                'new_value': field.attrib['new_value']}
    output['fields'] = fields
    return output
