deserialize now handles arrays of immutables properly