private static void putAll(Properties from, Map<String, String> to) {
    from.stringPropertyNames().forEach(n -> to.put(n, from.getProperty(n)));
  }
private static void putAll(Properties from, Map<String, String> to)