/* ep is for ep-engine, a.k.a. couchbase */
private Config parseEpJSON(JSONObject jsonObject) throws JSONException {
JSONObject vbMap = jsonObject.getJSONObject("vBucketServerMap");
String algorithm = vbMap.getString("hashAlgorithm");
HashAlgorithm hashAlgorithm =
HashAlgorithmRegistry.lookupHashAlgorithm(algorithm);
if (hashAlgorithm == null) {
throw new IllegalArgumentException("Unhandled hash algorithm type: "
+ algorithm);
}