maybe the good way to solve this is to make cornice evolve and be able to json-serialize dict_keys, rather than returning a list; what do you think?