Refactor kubecfg2 services and minions to enable --format and --raw