def METHOD_NAME(self, job_dict: dict, job: "AutoMLJob", **kwargs):
    """Resolve nested data into flatten format."""
    from azure.ai.ml.entities._job.automl.automl_job import AutoMLJob
    if not isinstance(job, AutoMLJob):
        return job_dict
    # change output to rest output dicts
    job_dict["outputs"] = job._to_rest_outputs()
    return job_dict