Finish implementing JSON Patch

I feel there are one or two bugs waiting to happen somewhere, however.