test context can output events to text writers as JSON now