In nodejs you can 'require' JSON. The same feature was added to the HTML spec, but then… it was removed. Jake and Surma dive into the reasons, and the impact it could have on other kinds of modules.
Our talk from JamStackConf: https://youtu.be/TsTt7Tja30Q
Also, we do a podcast! https://developers.google.com/web/shows/http203/podcast (also available via iTunes, Spotify, etc etc)