Make Statement.tags to SortedSet instead of Set
Load past ratings on demand in Statement.ratings
Output Statement.entries and Statement.ratings to JSON