switch from fast-json-patch to jsonpatch, import as user func