if (citem instanceof Map) {
final PropertyBuilder pbuild = PropertyBuilder.builder();
final Map<String, Object> itemmeta = (Map<String, Object>) citem;
final String typestr = metaStringProp(itemmeta, CONFIG_TYPE);
try {
pbuild.type(Property.Type.valueOf(typestr));
} catch (IllegalArgumentException e) {
throw new ConfigurationException("Invalid property type: " + typestr);
}
String propName = metaStringProp(itemmeta, CONFIG_NAME);