Generate JSON collection of subpages with a route?

Thank you for the follow-up:

While looking up for help, I found:

But then I went back to clean up the code for outputting my json in a precise way (Output JSON entry with multidimensional array—YAML adds extra syntax)

I’ll get back to this tomorrow!

In case I’ll write here again.

(: