add git diff to json python