zobj.inc: handle extended keys in keys()