toMap

fun <R> toMap(mapValues: (T) -> R): HashMap<String, R>