class ConfigUtil {

    public static Map<String, @Nullable Object> normalizeTypes(Map<String, @Nullable Object> configuration) {
        Map<String, @Nullable Object> convertedConfiguration = new HashMap<>(configuration.size());
        for (Entry<String, @Nullable Object> parameter : configuration.entrySet()) {
            String name = parameter.getKey();
            Object value = parameter.getValue();
            if (!isOSGiConfigParameter(name)) {
                convertedConfiguration.put(name, value == null ? null : normalizeType(value, null));
            }
        }
        return convertedConfiguration;
    }

}