old_contents: def identity(value):
      return value
  
  
  CUSTOM_SETTINGS_MAPPINGS = {
      'omero.web.ome_seadragon.search.default_group': ['DEFAULT_SEARCH_GROUP', None, identity, None],
      # configure this value using OMERO.cli
      # <ome_home>/bin/omero config set omero.web.ome_seadragon.repository $(<ome_home>/bin/omero config get omero.data.dir)
      'omero.web.ome_seadragon.repository': ['IMGS_REPOSITORY', None, identity, None],
      'omero.web.ome_seadragon.images_folder': ['IMGS_FOLDER', 'ManagedRepository', identity, None],
      # deepzoom properties
      'omero.web.ome_seadragon.deepzoom.overlap': ['DEEPZOOM_OVERLAP', 1, identity, None],
      'omero.web.ome_seadragon.deepzoom.format': ['DEEPZOOM_FORMAT', 'png', identity, None],
      'omero.web.ome_seadragon.deepzoom.limit_bounds': ['DEEPZOOM_LIMIT_BOUNDS', True, identity, None],
      'omero.web.ome_seadragon.deepzoom.jpeg_tile_quality': ['DEEPZOOM_JPEG_QUALITY', 75, identity, None],
      'omero.web.ome_seadragon.deepzoom.tile_size': ['DEEPZOOM_TILE_SIZE', 256, identity, None],
      # images cache
      'omero.web.ome_seadragon.images_cache.cache_enabled': ['IMAGES_CACHE_ENABLED', False, identity, None],
      'omero.web.ome_seadragon.images_cache.driver': ['IMAGES_CACHE_DRIVER', 'redis', identity, None],
      'omero.web.ome_seadragon.images_cache.expire_time': ['CACHE_EXPIRE_TIME', 60*15, identity, None],
      # redis config
      'omero.web.ome_seadragon.images_cache.redis.host': ['REDIS_HOST', 'localhost', identity, None],
      'omero.web.ome_seadragon.images_cache.redis.port': ['REDIS_PORT', 6379, identity, None],
      'omero.web.ome_seadragon.images_cache.redis.database': ['REDIS_DB', 0, identity, None]
  }
  
new_contents: def identity(value):
      return value
  
  
  CUSTOM_SETTINGS_MAPPINGS = {
      'omero.web.ome_seadragon.search.default_group': ['DEFAULT_SEARCH_GROUP', None, identity, None],
      # configure this value using OMERO.cli
      # <ome_home>/bin/omero config set omero.web.ome_seadragon.repository $(<ome_home>/bin/omero config get omero.data.dir)
      'omero.web.ome_seadragon.repository': ['IMGS_REPOSITORY', None, identity, None],
      'omero.web.ome_seadragon.images_folder': ['IMGS_FOLDER', 'ManagedRepository', identity, None],
      # deepzoom properties
      'omero.web.ome_seadragon.deepzoom.overlap': ['DEEPZOOM_OVERLAP', 1, identity, None],
      'omero.web.ome_seadragon.deepzoom.format': ['DEEPZOOM_FORMAT', 'jpeg', identity, None],
      'omero.web.ome_seadragon.deepzoom.limit_bounds': ['DEEPZOOM_LIMIT_BOUNDS', True, identity, None],
      'omero.web.ome_seadragon.deepzoom.jpeg_tile_quality': ['DEEPZOOM_JPEG_QUALITY', 90, identity, None],
      'omero.web.ome_seadragon.deepzoom.tile_size': ['DEEPZOOM_TILE_SIZE', 256, identity, None],
      # images cache
      'omero.web.ome_seadragon.images_cache.cache_enabled': ['IMAGES_CACHE_ENABLED', False, identity, None],
      'omero.web.ome_seadragon.images_cache.driver': ['IMAGES_CACHE_DRIVER', 'redis', identity, None],
      'omero.web.ome_seadragon.images_cache.expire_time': ['CACHE_EXPIRE_TIME', 60*15, identity, None],
      # redis config
      'omero.web.ome_seadragon.images_cache.redis.host': ['REDIS_HOST', 'localhost', identity, None],
      'omero.web.ome_seadragon.images_cache.redis.port': ['REDIS_PORT', 6379, identity, None],
      'omero.web.ome_seadragon.images_cache.redis.database': ['REDIS_DB', 0, identity, None]
  }
  
subject: switch to JPEG with an image quality of 90% as default tiles format