from typing import TextIO
import json


def load_mb_tags(fhandle: TextIO) -> dict:
    """Load track metadata

    Args:
        fhandle (str or file-like): path or file-like object pointing to musicbrainz metadata file

    Returns:
        Dict: metadata of the track

    """

    return json.load(fhandle)