make the first draft of diff compile again

it now uses the brand new JsonPatch structures