code: function formatResponse(response) {
    var info, user, dbname, auth;
    info   = url.parse(response.uri);
    auth   = encodeURIComponent(info.auth);
    user   = auth.replace(/%3A/i, ':').split(':');
    dbname = response.name;
  
    var database = {
      id: dbname,
      host: info.hostname,
      port: Number(info.port),
      uri: 'mongodb://' + info.auth + '@' + info.host,
      username: decodeURIComponent(user[0]),
      password: decodeURIComponent(user[1]),
      dbname: dbname
    };
    return database;
  }
docs: Function formatResponse This function parse the response from the provider and return an object with the correct keys and values. ### @response {Object} The body response from the provider api