'Serialize the object into a dictionary.'

def dump(self):

    result = {'privatekey': self.privatekey_path, 'filename': self.path, 'format': self.format, 'changed': self.changed, 'fingerprint': self.fingerprint}
    return result
