Need to handle generic Collection parameters as for GitSCM.submoduleCfg.