Recognize arrays in attr() values

Fix for #49