Oh, yeah, I thought you had meant making the type of the Payload field (not the Event struct) implement Unmarshaler. I must've missed the code snippet when I replied on my phone.