Wow, jq — a command-line JSON query/transform tool — is really very deep and powerful. Impressive!

stedolan.github.io/jq/