Improve ID parsing (#6137)
Improve ID parsing (#6137)

* Fix ids parse.

* Allow JSON trick to work with commans that return one things as well as lists.

yugangw-msft/azure-cli,yugangw-msft/azure-cli,yugangw-msft/azure-cli,yugangw-msft/azure-cli,yugangw-msft/azure-cli,yugangw-msft/azure-cli