If NestedObject is not a list you can use FLATTEN NestedObject as N. If it’s a list the previous would actually flatten the list into each element of that list. If you would like to rename a list, e.g. MyList, to somthing else, you could try FLATTEN list(MyList) as M.