[REFACTOR] populateDocumentFromRestEvent method and event added

Fixes #344