Use jsoncpp to event_to_json