Hi @Sai_Main and welcome to the MongoDB Community forums.
Can you provide some sample documents that has the data you’re working with? Please keep them as small as possible and make sure to use the Preformatted text block (click on the </> icon in the tool bar) when pasting the documents into your post (if pasted into regular text, the quotes get converted to fancy quotes and then have to be converted back to regular quotes by the person trying to help you).