I'm not sure about the name 'collapsed'. isn't this just restore_job_run_state ?