node: fix encoding of CHOICE
0.4.1