adding support for json-patch content type

Added support and test case for JSON-Patch content type.  RFC-6902 (https://tools.ietf.org/html/rfc6902)