Fixed serialization of list properties.