Skeleton for JSON parsing of events