Accessing a function variable from a called function's callback
===

This is my code below, it's all working with the exception of return_info not getting setup. Is it possible to access the parent return_info variable from within the callback that is called by the request function?

    module.exports = {
      fetch_template_by_id : function(id) {
        var request = require('request');
        var return_info = {}; //TO BE MODIFIED
        request('http://localhost:5000/templates/v1/template/' + id, function (error, response, body) {
          if (!error && response.statusCode == 200) {
            console.log("Success - Error = " + error + " | Response = " + response + " | Body = " + body);
            return_info.body = body;                  // Should Modify the top
            return_info.json = JSON.parse(body);      // Should Modify the top
            return_info.success = true;              // Should Modify the top
          } else {
            console.error("There was an error requesting template ID=" + id)
            return_info.error = error;                // Should Modify the top
            return_info.response = response;          // Should Modify the top
            return_info.success = false;              // Should Modify the top
          }
        });
        return return_info;
      }
    }