def convert_value(value: Any) -> Any:
    if isinstance(value, List):
        return [convert_value(x) for x in value]
    return (value.path if isinstance(value, BundleWithPath) else value)
def convert_value(value: Any) -> Any:
    if isinstance(value, List):
        return [convert_value(x) for x in value]
    return (value.path if isinstance(value, BundleWithPath) else value)