Replace this by `import json` and fix all uses of this.