nx: Fix unpacking of nx_role_reply

Thanks to Windhya Rankothge for the bug report.
nx: Fix show() of nx classes

Thanks to Windhya Rankothge for the bug report.