Nested list storing and retrieval

I have stored data in nested to nested lists

everything is fine in the project

i am storing this data in the tiny db and then making the file in the phone and want to retrieve the data.

initially i have tried “list to csv text” but it is not working as it will divide the data at one level only
i tried “list to csv table” but that is also not working as it will go till second level

is there any way to implement this list in storing and retrieving data from phone or should i change the list to second level and then use “list to csv table”
in that case i have to reinvent the wheel