Looks interesting, but I'm having trouble finding where to start reading about what's involved. Do you have a suggestion?
The best place to get started is to see how CSTML works in the playground: https://bablr.org/playground. It's meant to be a self-describing format. It can be streamed, and we have a btree-backed storage format for it that makes incremental editing of immutable trees a breeze.