JSON is a popular way to send data around, and the site was probably built around it long ago, using third-party libraries that are difficult to customize.
It does make one wonder for a site so easy to scrape, why there aren't any popular third-party clients that use scraped data, like FreeTube and NewPipe do with YouTube.