@Test
@FixFor("DBZ-759")
public void correctlySerializesStructWithByteArray() {

    Schema schema = SchemaBuilder.struct()
            .field("some_field", SchemaBuilder.bytes().build())
            .build();
    Struct struct = new Struct(schema).put("some_field", new byte[]{ 1, 3, 5, 7 });
    assertThat(SchemaUtil.asString(struct)).isEqualTo("{\"some_field\" : [1, 3, 5, 7]}");
}