static function for getting single event as json