curl commands updated with jq