ensure dict.keys() is a list