No need for setInterval in fromConsoleToObjects() coz db transactions are now wrapped in db.onReady event.