bugfix: add toObject so Blend can be serialized

not sure how to proceed now to undo the PR