There are apps that will reinstall your Cydia packages, but I would not recommend using them for a firmware upgrade. Not all tweaks are 6.x compatible, so it is best to just keep a list and install each package individually after thoroughly researching it.