Fix jq query testing if we got valid json