Patching for json compatible object graphs.