Now added JSON unmarshalling to typed events.