Fixed model Array assignement to not enclose assigned array into another array

Before the fix doing this:

```
var array = [1, 2, 3];
console.log(array);
myModelObject.array = array
console.log(myModelObject.array);
```

would print this:

```
[1, 2, 3]
[ [1, 2, 3] ]
```

After the fix the arrays are correctly assigned and the example above prints out:

```
[1, 2, 3]
[1, 2, 3]
```