docs: @SuppressWarnings("unchecked")
      public static final Map<?, ?> hidePasswords(Map<?, ?> map) {
          map = new HashMap<Object, Object>(map);
  
          for (@SuppressWarnings("rawtypes")
          Map.Entry entry : map.entrySet())
              if (entry.getKey() instanceof String && PropertyService.isPassword((String) entry.getKey()))
                  entry.setValue("******");
              else if(entry.getKey() instanceof String && entry.getValue() instanceof String && ((String) entry.getKey()).toLowerCase().contains("url"))
                  entry.setValue(filterURL((String) entry.getValue()));
          return map;
      }