Model and Collection to ArrayObject