Use jsonpatch to implement patching.