extract keys seems to be working for uples
more testcases are working