Native Module developers should be able to define custom structs with primitive fields, and use them as event args, similar to #3217.