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