Getting response with NodeJS request module

The result doesn’t get changed into JSON because no where in your code are you parsing it. What you get back from the request is just a string, to get the JSON what you’re have to do is something along the lines of:

try {
    result = JSON.parse(body);
} catch (err) {
    // if there is an error during parsing, such as the body not being JSON, it'll be caught here,.
}