from json import loads, dumps

from bundlewrap.metadata import metadata_to_json

def resolve_faults(dictionary: dict) -> dict:
    return loads(metadata_to_json(dictionary))