how to dump as string note