How do I get sub-requirements attribute (title & description )into my list?

Hello everyone, 
i am currently working on creating a report template that allows me to export requirement specifications as a report. 

I have already managed to do this for the top-level requirements.

However, I just realized: what happens if there is a sub-requirement beneath a requirement?

 

I was able to retrieve a parameter from the requirements that gives me access to sub-requirements. I would like to list these below the information of the "main requirement."

The problem with the sub-requirement parameter is that I cannot extract attributes such as title or description from it.

Therefore, I tried searching for outgoing relationships within the sub-requirement parameter and found the links to the requirements there. 

This way, I can retrieve the attributes again. However, this has created a loop that only displays the information of the higher-level requirement structure in a more complicated way.

Do you have any idea on how I can access the attributes of sub-requirements
 

I have attached my JSON file. Maybe the mistake I’m making is very obvious.
Report Template Administrator