docs: function parseBuildInfo(resp) {
    const res = {
      version: resp.version,
      commit: resp.gitVersion,
      commit_url: 'https://github.com/mongodb/mongo/commit/' + resp.gitVersion,
      flags_loader: resp.loaderFlags,
      flags_compiler: resp.compilerFlags,
      allocator: resp.allocator,
      javascript_engine: resp.javascriptEngine,
      debug: resp.debug,
      for_bits: resp.bits,
      max_bson_object_size: resp.maxBsonObjectSize,
      enterprise_module: false,
      raw: resp // Save the raw output to later determine if genuine MongoDB
    };
    // cover both cases of detecting enterprise module, see SERVER-18099
    if (resp.gitVersion && resp.gitVersion.match(/enterprise/)) {
      res.enterprise_module = true;
    }
    if (resp.modules && resp.modules.indexOf('enterprise') !== -1) {
      res.enterprise_module = true;
    }
    return res;
  }