def METHOD_NAME(config_path):
    converter = infer_converter_from_file_type(config_path)
    userconfig_tmpl = converter.parse(config_path)
    userconfig_keyword = "orion="
    transformed_args = {}
    stack = collections.deque()
    stack.append(("", userconfig_tmpl))
    while True:
        try:
            namespace, stuff = stack.pop()
        except IndexError:
            break
        if isinstance(stuff, dict):
            for k, v in stuff.items():
                stack.append(("/".join([namespace, str(k)]), v))
        elif isinstance(stuff, list):
            for position, thing in enumerate(stuff):
                stack.append(("/".join([namespace, str(position)]), thing))
        elif isinstance(stuff, str):
            if stuff.startswith(userconfig_keyword):
                if namespace in transformed_args:
                    raise ValueError(
                        f"Conflict for name '{namespace}' in script configuration and arguments."
                    )
                transformed_args[namespace] = stuff[len(userconfig_keyword) :]
    return transformed_args