support keys() and values() dictionary methods