Added option to also gather the 'Name' tag for each instance with events associated.
Fixed issue where array was being appended with name instead of return of ternary operation
Fixed for rubocop
fixed indentation
Merge pull request #912 from jmherbst/master

Added option to also gather the 'Name' tag for each instance with events