Add serialization of discount values