While populating, if the model has toArray() use that rather than a cast