Refactor the method mergeConfigurationItem, using the Collectors of Stream API to combine string array