Primary and secondary lignin pyrolysis reaction pathways