payload as JSON bytes, like the response sends it
payload
List<int> encodeJson(dynamic payload) => _jsonUtf8.convert(payload);