Why JSON on "snap get" output?

Why is snap get output JSON and not YAML?
(we use yaml-ish output in at least snap info and snap whoami)

A few reasons:

  1. The format is really aimed at inter-tool communication. YAML is way too rich and complex for that.
  2. We will introduce a schema system for proper presentation and value constraining.
  3. It’s easy to support YAML as well if we decide to at some latter point.