THRIFT-2720 nodejs - Error with enum generation