refactor: _basic_message builder for mongo driver

Use a message building function to generate the common part
of different message bodies returned from the storage driver.

Change-Id: I2c3fd45c7e6985911b56540850258fc569d30429
Merge "refactor: _basic_message builder for mongo driver"