> but storage format as text is just fundamentally problematic.
Why? The ast needs to be stored as bytes on disk anyways, what is problematic in having having those bytes be human-readable text?