try to use the compact option for jq