We've implemented a dynamic folders feature allowing you to populate a complete folder structure using a script:
https://www.royalapplications.com/go/kb-all-royaljson
Roel