Fixed a bug in list serialization that was exposing non-public fields to users;