We use the JSON format to copy the diagram to the right canvas.