@Test void acceptSpans_decodingError_nonStringValue() {
    byte[] bytes = """
      {
        "traceId": "6b221d5bc9e6496c",
        "name": "get-traces",
        "id": "6b221d5bc9e6496c",
        "tags": {
          "error": true
        }
      }
      """.getBytes(UTF_8); // error tag has a bool instead of string value
    collector.acceptSpans(bytes, SpanBytesDecoder.JSON_V2, callback);

    verify(callback).onError(any(IllegalArgumentException.class));
    assertDebugLogIs("Malformed reading List<Span> from json");
    verify(metrics).incrementMessagesDropped();
  }
Tags in zipkin v2 model are stringly typed.
zipkin-collector/core/src/test/java/zipkin2/collector/CollectorTest.java