Changes in model to store multiple collections and original keys

Changes are needed in document disambiguation.