bakery/mgostorage: do not return private type

It's not good practice to return private types.