marshal output strings