add version to json file