dict -> list of pairs