Get version from git, add version field to json