More updates to transforming Legs back from LegDocuments