Simplified getByteString code