Using strings inside mBlock extensions code
If that is a JSON format you could try using single quotes instead of double quotes: 

"work":'Serial.print("Hello world");'


Alternatively you could escape the internal quotes:

"work":"Serial.print(\"Hello world\");"