cli: Add `flynn json` which dumps CLI metadata.

Resolves #296.