class JsonConverter extends AbstractConfigurationConverter {

    boolean mightBeList(final @NotNull PlexusConfiguration config) {
        if (config.getChildCount() >= 1) {
            final String parentStem = plexusPluralStem(config.getName());
            final String firstChild = config.getChild(0).getName();
            return !parentStem.isEmpty()
                    && parentStem.equals(plexusPluralStem(firstChild))
                    && Arrays.stream(config.getChildren())
                    .allMatch(child -> firstChild.equals(child.getName()));
        }
        return false;
    }

}