normalize events metadata