Proper serialization for List