fixed issue with model array serialization