json data modified in newsale and second sale from serial to serialNumber