Why is browser.bookmarks.gettree() not returning correct results?

I have deleted all my bookmarks and am doing a simple bookmarks.gettree() call, and the results seem to be some sort of backup or something, and NOT the current bookmarks. Does anyone have any idea why this may be?

Similarly, creating bookmarks reports success but nothing appears in my bookmarks.

I have made a stackoverflow post:

If you create a fresh JSON backup from the Library window, do the API calls match the contents of the backup? That’s certainly what I would expect to happen. The API’s shouldn’t return bookmarks/folders that are not in the live database anywhere.

https://support.mozilla.org/kb/restore-bookmarks-from-backup-or-move-them

Hmm, it’s possible the database is damaged. Have you ever see the error described in this support article: https://support.mozilla.org/kb/fix-bookmarks-and-history-will-not-be-functional