Modify templates to remove unused or unshown properties, and to add new
properties that the backend uses for creating the provenance.
Update code to work with moving some attributes to the top level of process.