robustifed defaultnamedtuple and pyx2obj