Hi Mikael,
Welcome to Wappler!
For dealing with recursive structures, you might want to check this topic: