use $ instead of deprecated jq