Copy Nodes to System Clipboard as Text (JSON?)

this would be really helpfull, but how would you paste the text back into blender as nodes.
it needs some kind of inputfield