Allowing typeName to specify an array in YAML config