work in progress to update serialization formats to support 1. literal
references, and 2. inner roots