Add marshalling support to `PutEvent`
gofmt all the things!