I'm porting Globals 2.0 plugin to the C3Runtime, and I faced the next problem.
In Construct 2 SDK was "this.instance_vars" method. Using this method, you can get an array of values of the object's instance variables. Using JSON.stringify(this.instance_vars) it looks like this:
But Construct 3 SDK doesn't have this method. You can only get the count of instance variables and their values by index. The Globals plugin uses this method to store the values of instance variables as a JSON string (as in the image above).
How to solve this problem?