This could happen if db.setObject is called with an empty object like this db.setObject('someKey', {});.
Can you put a console log in src/database/mongo/hash.js here. Place the below code and let me know the output.
if (!Object.keys(data).length) { console.log('empty data', new Error('a').stack); }