put global values from smartmeter.json to global.json