Moved map logic to helper function
Moved map logic to helper function

VirusTotal/content,VirusTotal/content,demisto/content,demisto/content,VirusTotal/content,VirusTotal/content,demisto/content,demisto/content