JQ json code example
Example 1: get jq command
apt-get update && apt-get install jq #Just install this way in UNIX
Example 2: jq list top nodes
echo '{"node1":"foo", "node2":"bar","node3": {"inner-node": "baz"}}' | jq '. |=keys'
[
"node1",
"node2",
"node3"
]