def __new__(cls, to: str, *args, fallback: Callable=None, **kwargs):
    function_path = a_json = to
    try:
        call_detail = json.loads(a_json)
        function_path = call_detail['call']
        args = [*call_detail.get('args', tuple()), *args]
        kwargs = {**call_detail.get('kwargs', dict()), **kwargs}
    except JSONDecodeError:
        pass
    parsed = parse('{import_path}:{function_name:w}', function_path)
    if (parsed is None):
        if fallback:
            return fallback(*args, **kwargs)
        else:
            raise Exception('argument `to` is invalid.')
    import_path = parsed['import_path']
    function_name = parsed['function_name']
    try:
        module = importlib.import_module(f'{import_path}')
        function = getattr(module, function_name)
        return function(*args, **kwargs)
    except ModuleNotFoundError as e:
        if fallback:
            import os
            logger.debug('Fallback is about to be returned. This is cwd, {}', os.getcwd())
            logger.exception('The exception')
            return fallback(*args, **kwargs)
        else:
            raise e
def __new__(cls, to: str, *args, fallback: Callable=None, **kwargs):
    function_path = a_json = to
    try:
        call_detail = json.loads(a_json)
        function_path = call_detail['call']
        args = [*call_detail.get('args', tuple()), *args]
        kwargs = {**call_detail.get('kwargs', dict()), **kwargs}
    except JSONDecodeError:
        pass
    parsed = parse('{import_path}:{function_name:w}', function_path)
    if (parsed is None):
        if fallback:
            return fallback(*args, **kwargs)
        else:
            raise Exception('argument `to` is invalid.')
    import_path = parsed['import_path']
    function_name = parsed['function_name']
    try:
        module = importlib.import_module(f'{import_path}')
        function = getattr(module, function_name)
        return function(*args, **kwargs)
    except ModuleNotFoundError as e:
        if fallback:
            import os
            logger.debug('Fallback is about to be returned. This is cwd, {}', os.getcwd())
            logger.exception('The exception')
            return fallback(*args, **kwargs)
        else:
            raise e