Fix array deserialization