import json
from typing import OrderedDict


def read_json_file(json_file_path):
    """Read the existing json file from the given path."""
    with open(json_file_path, encoding="utf-8") as json_file:
        # object_pairs_hook=OrderedDict allows to preserve input order
        return json.load(json_file, object_pairs_hook=OrderedDict)