Fix event data serialization with undefined object fields
This release introduces no breaking changes
Bug fixes:
- Undefined fields contained in event data were being removed by the built-in serializer. serialize-javascript has been replaced with devalue to avoid this issue. Care has been taken in keeping deserialization compatibility, so it is safe to rollout this update at runtime.
Special thanks to @matey97 for discovering the issue.