upgrade to current versions of PuppetJs and json-patch-duplex.js
fix error display