Why not YAML or JSON and the vetted libraries to read and write the format?
As a user I don’t really have any concern with what underlying data format and structure it stores things in. I want to manage my todos!
This could be an SQLITE file for all I care.
Software engineering should be about more productive UX, not flexing one’s ability to parse arbitrary syntactic art.