JSON Patch in Erlang