import json
from typing import OrderedDict


def load_manifest(image_manifest_path):
    """Return contents of image manifest file (dict)"""
    with open(image_manifest_path, 'r') as fp:
        return json.loads(fp.read(), object_pairs_hook=OrderedDict)