@Override
	public Tuple transformPayload(Map<Object, Object> map) {

		List<String> newNames = new ArrayList<String>();
		List<Object> newValues = new ArrayList<Object>();
		for (Object name : map.keySet()) {
			newNames.add(name.toString());
		}
		for (Object value : map.values()) {
			newValues.add(value);
		}
		return TupleBuilder.tuple().ofNamesAndValues(newNames, newValues);

	}
Converts from a Map to the Tuple data structure.

@author Mark Pollack
spring-xd-tuple/src/main/java/org/springframework/xd/tuple/integration/MapToTupleTransformer.java