We should be using the `content` attribute of the `json` parameter so that we're consistent with the Github API. The other attributes such as `commit` is not supposed to be included (in the case of `commit` we store it separately). See https://developer.github.com/v3/repos/contents/#update-a-file.