add a merge method to restore the attributes removed
 - only remove and merge attributes on elements with gtapi-trx-id