Switched from jsontool to jq for JSON parsing.