replace dot notation for mongodb