Simplfied List and Set serialization as Collection serialization.