fetch() returns keys adn values rather than indices

Signed-off-by: Mattias Andrée <maandree@operamail.com>