add json serialisation tags
update event name as we do in nodejs