code: public Map<String, String> getPropertiesAsMap(Properties properties) {
  		Map<String, String> result = new HashMap<String, String>();
  		for (String key : properties.stringPropertyNames()) {
  			result.put(key, properties.getProperty(key));
  		}
  		return result;
  	}
docs: Transforms the given properties to a map with key/value pairs.
  
  @param properties
  to transform
  @return map containing transformed properties