Explicitly convert all attributes that can take an array as value to
array. Prevents an error if a single value was provided, instead of
an array.