indexing of JSON haddock extended: the packages can be bundled into chuncks, e.g 50 packages at once (--json-maxpkg option)