Adding extensions to json file