use streaming json/xml decoders instead of unnecessarily reading entire response body