Completing serialization to mecomp from jsPlumb data