array of strings
source of attributes to check
reduceToString - goes one level into source to collect attribute
array of strings