Fixed commas when outputting multiple events