def METHOD_NAME(obj):
    if isinstance(obj, DogmaticDict):
        return dict({key: METHOD_NAME(value) for key, value in obj.items()})
    elif isinstance(obj, DogmaticList):
        return list([METHOD_NAME(value) for value in obj])
    elif isinstance(obj, tuple):
        return tuple(METHOD_NAME(value) for value in obj)
    else:
        return obj