Vector to HashMap