code: public static Map<String, Object> transformPrincipalAttributesListIntoMap(final List<String> list) {
          val map = transformPrincipalAttributesListIntoMultiMap(list);
          return CollectionUtils.wrap(map);
      }
docs: Transform principal attributes list into map map.
  
  @param list the list
  @return the map