code: def sanitize_resources(resource):
          
          try:
              resource[ATTR_HUB_NAME_UNICODE] = base64_to_unicode(resource[ATTR_HUB_NAME])
              return resource
          except (KeyError, TypeError):
              LOGGER.debug("no data available")
              return None
docs: Cleans up incoming scene data
  
          :param resource: The dict with scene data to be sanitized.
          :returns: Cleaned up dict.