use new v2 API and jq to parse json