Fixes the arglist in the docs of the extractArray method of json_serializer.js #1460

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` #1460