code: public static <U extends UserProfile> List<U> flatIntoAProfileList(final Map<String, U> profiles) {
          return new ArrayList<>(profiles.values());
      }
docs: Flat the map of profiles into a list of profiles.
  
  @param profiles the map of profiles
  @param <U> the kind of profile
  @return the list of profiles