public static byte[] mapToBytes(Map<String, String> map) {
		return mapBytesUtility.toByteArray(map);
	}
Convert a map of string key/value pairs to a JSON string in a byte array.

@param map map to convert

@return byte array
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/zookeeper/ZooKeeperUtils.java