class ImageToJsonTranslator {

  @VisibleForTesting
  @Nullable
  static Map<String, Map<?, ?>> volumesSetToMap(@Nullable Set<AbsoluteUnixPath> volumes) {
    return setToMap(volumes, AbsoluteUnixPath::toString);
  }

  public  ImageToJsonTranslator(Image image);

}