Title: edited how documentMapper.js exports
Description: It should work like in profileMapper

Edited: how documentMapper.js exports
Deleted:
Fixes:
Important:
Alert:
Snip:
Commit: Christopher, Robert