Interesting package to replace the "search and set" of .scenario parameter values
In suqc this part is implemented, but I just found a package that could replace the hard-to-read code.
https://jmespath.org/tutorial.html It can also work with nested data https://jmespath.org/examples.html#working-with-nested-data