CFY-1144 update cli output function to show group/policy/trigger if exists