Improve type checking. Split jsonPatch tests out. Update README. Bump version