srt_result function

Prepare the return object for srt() and rdt().