added handling for json events that are readable