public static Map<String, String> deserializeAttributes(Map<String, byte[]> attributes) {
    return attributes.entrySet().stream().collect(
      Collectors.toMap(Map.Entry::getKey, entry -> Bytes.toStringBinary(entry.getValue())));
  }
Convert a map of byte array attributes to a more readable map of binary string representations
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java