Maybe we could just do `require("foo.json")` here and in the other places below? Or is this to ensure we have a deep copy?