    final Map<String, YObject> source = y.asMap();
    final Properties target = new Properties();
    for (Map.Entry<String, YObject> entry : source.entrySet()) {
      target.setProperty(entry.getKey(), entry.getValue().map(String.class));
    }
    return target;
  }
}