in example, output both keys and values