Added array/collection serilization.