cosmos to sqlite

No, we need to find a way to add some more complex representation to type / metadata to rooms, when combined with the GRT issue.