code: public static String extractValueByName(List<MemberValuePair> pairs, String name){
          for(MemberValuePair pair : pairs){
              if(pair.getName().equals(name)){
                  return pair.getValue().toString();
              }
          }
          return null;
      }
docs: Get the value of a {@link MemberValuePair} present in a list from its name.
  
  @param pairs The list of MemberValuePair
  @param name The name of the MemberValuePair we want to get the value from.
  @return The value of the MemberValuePair of given name, or null if it's not present in the list.