fixes json in event title if event_type is nil