add old registration_id in the plain-text result
add new attribute named old_registration_id
minor modification