allow arrays in config_hash and in the template

e.g. this is used for the inclexcl directive