CB-5364 config_parser - handle duplicates with children and text when merging