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

...ts