Need to encode binary responses from generic