Updated the README.md "serialize" documentation.

Serialize throws an 'invalid' event, not an 'error' event'.