OK. The information being returned is JSON so surely
var text = '{ "Error":"Yes","eval":"hypeDocument.showSceneNamed(\'scene2\', hypeDocument.kSceneTransitionPushRightToLeft, 1.1)"}';
var obj = JSON.parse(text);
It’s new to me also. So I’m no expert. I’m just thinking out loud.
D