In Flyctl meets JSON, we introduced the new --json flag on Flyctl so to can script better with flyctl and plug it into more applications.
If you haven’t used jq yet, you should. It’s delightful.
jq should be a standard tool in your modern toolbox. Just remember to learn to master the old tool xargs at the same time. 
+1 to jq. So powerful