Updated collection entity toArray to export all data.

The collection portion of the collection entity is exported via the
`entries` key on the array. May need to look at logic to do some
collision detection.