WIP: read collection data from db.