The exchange was reportedly months in the making, and included the release of at least one Chinese citizen in US custody.