thinking about how to save marshaled output