convert id strings to mongodbs objectid