Go exercise to parse and generate event JSON