This class has a method to input raw data from payload and output data to payload. If the payload has optional properties, what is the proper way to input/output those optio