switch to more up-to-date jsonpatch lib, fixes