complete local-global id mapping in mongo