marshalling to a usable results object