introduce differentiating in serializing a list