Attempted at converting Mapping<> to inherit from Iterable<KeyValuePair<>> instead of Iterable<pair<>>