Update Orm\Model::to_object() to allow same parameters as to_array()