This also exposed the max_batch_length configuration option in python/node (it was needed to verify if we are actually in v2 mode or not)
In addition, there are also a number of changes in nodejs to the docstrings of existing methods because this PR adds a jsdoc linter.