[Issue] If the AZ cli is configured for non-json output, commands may fail
We should make sure we are explicitly asking for json output on all our az calls. We should run all our tests with the CLI configured with a different default to find other cases like in issue #441
Let's also consider modifying runAzCommand so that it forces json output (instead of requiring us to pass --output json for each command. For the few cases where we run az and need non json output, runAzCommandWithArgs exists and we can ensure via inspection that --output is passed.
We decide to remove az cli from our project and apply Go SDK. Go SDK returns JSON responses with automatic JSON unmarshalling. @wbreza is working on that and having some great stuff. Once az cli is removed, we would close this issue.