instead of this, why not remove the dependency of the config object and just do something explicit like `workloads.PopulateRestContext(params.restTarget, params.restUser, ..)` ?