Add function calls to replaceDots when creating a new key in mapBaseToBlock to enable mongoDB storage