bugfix: add toObject so Blend can be serialized

You can make another commit to remove that line and push; it will update this PR.