added cases for new events, so it replays correctly

also added intermediate JSON as an output.