[DOC] [BUGFIX master] Fixes the arglist in the docs of the extractArray method of json_serializer.js

The example for extractArray represented a method with a different arglist to the actual method. This commit fixes the arglist in the documentation for extractArray method of `json_serializer.js`