Install: Refactored to take parameters. Json: Added --jsonArray and --toJsonArray for those who need a json ARRAY rather than a json OBJECT list.