Fixes swapping objects.
Merge branch 'fix-replace-obj' of https://github.com/jmeas/JSON-Patch