marshal all the return data