script to dump the svg in raw text