Initial support for JSON Patch

I still have to write the parser but this takes care of the patch operations.