* Take an Erlang term and convert it into JSON events * Take a list of events and encode into a JSON string representation