added option to get all keys when iterating over items using a type+added getting other keys using one of them