Integrated LLL parsing and serialization