Alloc value_data_t as part of tmpls
Copy the name field of polymorphic attributes correctly
Fixup dict_attr on LHS of tmpl for polymorphic attributes
Fixup validation functions to deal with polymorphic attributes