monkey patch Array.isArray to return true for collections