code: public static List<NameValuePair> toNameValuePair(Object parent, Map<String, String> map) {
  		List<NameValuePair> list = new ArrayList<NameValuePair>();
  		for (String key : map.keySet()) {
  			NameValuePair nvp = new NameValuePair(parent, key, map.get(key));
  			list.add(nvp);
  		}
  		return list;
  	}
docs: Creates a List of NameValuePair from a Map
  
  @param parent The Parent object to be added to the NameValuePair of each element
  @param map	The map to be converted
  @return The List of NameValuePairs