Get rid of C helper for event parsing

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