looks for data-array attribute on element to convert 5,6,7 to [5,6,7]