code: def scanimage_artist_metadata(artist):
      
      try:
          return json.loads(artist)
      except ValueError as exc:
          log.warning('scanimage_artist_metadata: %s: %s',
                      exc.__class__.__name__, exc)
docs: Return metatata from ScanImage artist tag as dict.