The government is considering a swap that would consolidate the secondary market into a few benchmark issues, replacing 20 separate bonds.