upgrade json-patch-duplex.js to 0.3.1 (fixes: jsonpatch.generate did not clear patch queue for "add" and "remove")