@Override
  public String toString() {
    try {
      return toJSONObject().toString(2);
    } catch (JSONException e) {
      logger.error("JSONException caught in toString: ", e.getCause());
    }
    return null;
  }
Gets Partition with specified byte-serialized ID.

@param stream byte-serialized partition ID
@return requested Partition else null.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/PartitionLayout.java