Establish Reference/Pointers to a $settings.switch object

Here is one relevant Topic about how runIn() data parameters are serialized to JSON…

If I conclude correctly, you simply can’t successfully pass real “objects” to runIn(); so, dereferencing the JSON data to the settings.* object has been mentioned as a solution in a few similar Topics.