code: private String getValue(String name) {
          for (YamlProperties yamlProp : yamlProps) {
              String value = yamlProp.getString(name);
              if (value != null)
                  return value;
          }
          if (javaProps != null) {
              for (Properties javaProp : javaProps) {
                  String value = javaProp.getProperty(name);
                  if (value != null)
                      return value;
              }
          }
          return null;
      }
docs: Reads flat or structured values from yaml.
  If not found, fall back to java properties.