adde SamplePayload to convert an mashal of samples