Errors at this line with any object with a blendmode set:
object.blendMode = objectData.blendMode;
with:
Can't cast String to i32
For some reason I have to explicitly call 'BlendMode.fromString':
object.blendMode = BlendMode.fromString(objectData.blendMode);
Then it works.