you need to handle the case of non-existent keys properly: the Collection interface wants to get ``null`` in such case, not ``false`` (which is what ``current`` returns when the array is empty)