Rework with arrays for pkgs, lists and install-pkgs

Merged Bernhard Landauer requested to merge arrays-rebase into master

Merge request reports