Add optional key to attribute values, to emulate mapped attribute
values.  Clean up a bunch of cruft left over in some attribute values.
record the product in the job chronology.