Save merged contacts information
Your contacts should all be backed up to the Google account you registered your phone with, provided that you are saving your contacts to Google and not your SIM card.  Check to make sure that you are using Google as your default contact list, and that syncing for contacts for that account is checked.

UPDATE: 
You can use Titanium Backup to migrate settings between ROM wipes for other apps/contacts.