handler: Fix wrong event unmarshalling

Signed-off-by: Ondrej Kupka <ondra.cap@gmail.com>