Earlier today I stumbled on an AWS CLI feature I hadn't noticed before, the "output" flag.
The default value of this flag is json, which is probably what you want most of the time. It makes it pretty easy to manipulate and pull out the data you need.