Adds the appropriate .json extension to an Adverse Event variable