Change extension to json