This feature is definitely going to be handy but unfortunately it isn't in firefox yet so I can't use it.
import data from '/data/times.json' assert { type: "json" }
For now we need to still use fetch to get server side json.