DIRMINA-946, fixes for ByteBufferDumper