make dump return string