Make sure __toArray() works properly with arrays of objects in Model\tModel