Update CollectionUtils.java

add method for converting a map to a list