lddmc: fix serialize/test_ismdd for copy nodes
lddmc: added compose function