code: function processJson(obj) {
      for (var i in obj) {
        if (typeof(obj[i]) === "object") {
          processJson(obj[i]); // found an obj or array keep digging
        } else if (obj[i] !== null){
          obj[i] = getFunctionNameAndArgs(obj[i]);// not an obj or array, check contents
        }
      }
      return obj;
    }
docs: Loop through entire json object