Converts entry to KtPair with key being first component and value being second.
KtPair<K, V> toPair();