class UnwrappedSerializer implements Serializer<List<?>> {

  @Override
  public byte[] serialize(final String topic, final List<?> values) {
    if (values == null) {
      return null;
    }

    final T single = extractOnlyColumn(values, topic);
    return inner.serialize(topic, single);
  }

  public  UnwrappedSerializer(
      final Serializer<T> inner,
      final Class<T> colType
  );

}