BaseResponse: Fix item to bytes conversion.