Optimize ItemView.serializeCollection
Rearrange ItemView.serializeData logic