Lignin structural characterization