def AsDict(self):
    return {
        'job_guid': str(self.job.guid),
        'function_handle_string': self.function_handle_string,
        'trace_canonical_url': self.trace_canonical_url,
        'type': self.failure_type_name,
        'description': self.description,
        'stack': self.stack
    }