Are you doing this because you also use SQLite for other relational data?

Possibly yes, otherwise I could use another simple solution