Reindex ArrayCollection before serialization