Added recusive flattening of errors array before joining

Not doing that was causing issues - a doubly nested object that
validated properly would return an array that looked like:

```
[ [ [ ], [ ] ] ]
```

which, when joined, would look like: `,`