Update json file with environment variable values