Better type coercion for Array