I have an attribute that sometimes is a string, sometimes is an array of string - I don\'t have control about it. To handle it, I have wrote a code that works smooth if I ha