import codecs
import json


def load(path):
    """Loads a single Zeppelin notebook. For now just a wrapper around json.load"""
    with codecs.open(path, mode="r", encoding="UTF-8") as fr:
        try:
            return json.load(fr)
        except json.JSONDecodeError:
            return {}