Flatten arrays passed to templates
Reduce param validation strictness for mit_krb5