import json


def json_to_obj(json_str: str):
    """
    Transforms the json string into tree made up of dictionaries and list.
    :param json_str: The json string to transform
    :return: the dict or list
    """
    return json.loads(json_str)