Does DeamFactory 2.0 work with V8 php mod v: 0.4.1?

I’m having trouble getting server side scripting to work. In var_dump I can see the response changed, but the API returns unchanged response.
I’m using DF 2.0 with V8 0.4.1
Also, I can’t seem to use lodash each loop:

lodash._.each (event.response.content.resource, function( record ) { … });

gives me the following error:

“error”: {
“context”: null,
“message”: “Cannot read property ‘each’ of undefined”,
“code”: 500,
“trace”: [ … ]

Quite a long trace array that doesn’t look that helpful.