Patch any object

Mixins with array attributes were causing problems as the array passes the _.isObject check on line 45 and is then passed as an argument to _.extend.