modifying templates to support multiple result values

For all of the templates that support values modifying to support looping over the values to create an instance for each one, until the CAT I spec is updated to support multiple values per entry.