Add a bug fix from the json-patch-php lib.

Add in this fix: https://github.com/mikemccabe/json-patch-php/pull/4