Refactoring `store.set()` to implement `rfc6902` (JSONPatch), fixing `store.setComplete()` when receiving `0` for the key, and for deltas