import json
import pkg_resources


def load_json(filename: str):
    """Load JSON-formatted file into native data structure."""
    return json.loads(pkg_resources.resource_string(__name__, filename))