Update templates to add in an "attribute" field. This will be used in
the future when we transform a template into individual objects. The
attribute field will be used for the object hash name.