Use ruby instead of jq