Convert raw value of attribute into array