class MetadataSchemaPropertiesImpl implements MetadataProperties {

    protected final Map<String, List<String>> collectExtraMetadataProperties(final Map<String, List<String>> collectedMetadata) {
        if (cfg != null && cfg.extra_metadata_properties() != null) {
            for (final String entry : cfg.extra_metadata_properties()) {
                final String propertyName = StringUtils.substringBefore(entry, "=");
                final String fieldLabel = StringUtils.substringAfter(entry, "=");
                collectMetadataProperty(fieldLabel, propertyName, collectedMetadata);
            }
        }

        return collectedMetadata;
    }

}