"null" is a valid value in a Map, so treating it equal to NoSuchElement covers both cases (null value and absent value)