function getResult(callback, json) {
    var token = '5fe274f52b8b66a83b716c68ff4da61f';
    console.log('call_id : api_2_call_1');
    var input = json.input;
    var all_required = false;
    if (input.geoCode.lat && input.geoCode.lng) {
        all_required = true;
    }
    if (all_required) {
        var call = 'https://api.forecast.io/forecast/' + token + '/' + input.geoCode.lat + ',' + input.geoCode.lng + '?units=si';
        require('request')(call, function(error, response, body) {
            if (!error && response.statusCode == 200) {
                var info = JSON.parse(body);
                
                    
               /* if(json.input.temperature){
                    json.input.temperature.value = info.currently.temperature;
                }else{
                    json.input.temperature = {};
                    json.input.temperature.value = info.currently.temperature;
                }
                */
                if(json.input.temperature){
                    if(json.input.temperature.unit){
                        json.input.temperature.unit.ISO = "C";
                    }else{
                        json.input.temperature.unit = {};
                        json.input.temperature.unit.ISO = "C";
                    }
                }else{
                    json.input.temperature = {};
                    if(json.input.temperature.unit){
                        json.input.temperature.unit.ISO = "C";
                    }else{
                        json.input.temperature.unit = {};
                        json.input.temperature.unit.ISO = "C";
                    }
                }
                
                json.index = json.index + 1;
                if (json.step[json.index].nb == 'end') {
                    callback(json.input[json.query]);
                } else {
                    var action_module = require('./' + json.step[json.index].call_id + '.js');
                    action_module.getResult(function(result) {
                        callback(result);
                    }, json);
                }
            } else {
                callback('the request failed');
            }
        });
    }
}
exports.getResult = getResult;

@@ -952,32 +952,33 @@
              if(
+!
 json.input.tempe
@@ -998,35 +998,32 @@
                 
-if(
 json.input.tempe
@@ -1032,113 +1032,50 @@
 ture
-.unit)%7B%0A                        json.input.temperature.unit.ISO = %22C%22;%0A                    %7Delse%7B%0A       
+ = %7B%7D;%0A                %7D%0A                %0A
     
@@ -1078,33 +1078,36 @@
                 
- 
+if(!
 json.input.tempe
@@ -1109,38 +1109,34 @@
 temperature.unit
- = %7B%7D;
+)%7B
 %0A               
@@ -1132,36 +1132,32 @@
                 
-    
 json.input.tempe
@@ -1167,32 +1167,23 @@
 ure.unit
-.ISO = %22C%22;%0A    
+ = %7B%7D;%0A
         
@@ -1212,125 +1212,9 @@
     
-%7Delse%7B
 %0A
-                    json.input.temperature = %7B%7D;%0A                    if(json.input.temperature.unit)%7B%0A        
     
@@ -1278,32 +1278,24 @@
             
- 
- %7Delse%7B
 %0A           
@@ -1303,152 +1303,25 @@
     
-        json.input.temperature.unit = %7B%7D;%0A                        json.input.temperature.unit.ISO = %22C%22;%0A                    %7D%0A                %7D
+%0A                
 %0A   

Update api_2_call_1.js