Allow model::toArray with no parameters