Added Model::arrayify() to change model objects to simple arrays