remove json support
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py
index 3ab2387..15645f8 100644
--- a/buildkite/bazelci.py
+++ b/buildkite/bazelci.py
@@ -292,10 +292,7 @@
             return yml.load(fd)
     with urllib.request.urlopen(http_url) as resp:
         reader = codecs.getreader("utf-8")
-        if http_url.endswith("yml"):
-            return yaml.load(reader(resp))
-        else:
-            return json.load(reader(resp))
+        return yaml.load(reader(resp))
 
 
 def print_collapsed_group(name):