Use native collections when processing server response (#11100)

Change-Id: I72d39f09606cdd32c50336f6ee3c7a2918310152