code: def getResource(self, name: str) -> T:
      prefix, name = name.split("::", 1)
      return {"wordlist": (lambda js: {js}), "dist": (lambda js: js)}[
          prefix
      ](json.load(open(self._paths[int(name) - 1])))
  
file_path: Ciphey/ciphey/basemods/Resources/files.py
imports: import csv
  import json
  from functools import lru_cache
  from typing import Dict, Generic, Optional, Set
  from ciphey.iface import Config, Distribution, ParamSpec, ResourceLoader, T, WordList, registry
label_desc: Use image node_id 2 for calling the Json obj's underlying member method code with example usage: obj.getResource(name) and returns: dict