I have a collection with documents that follows this structure:

```
child: 
    {
    id: int 
    name: string
    age: int
    dob: date
    school: string
    class: string
    }

```

I would like to embed certain fields, into something like this:

```
child:
    {
    id : int
    personalInfo {
        name: string
        age: int
        dob: date
        }
    educationInfo {
        school: string
        class: string
        }
    }

```

How would one go across in doing this in code? I am new to Mongodb, so I apologize if my syntax is incorrect. All of the fields have one-to-one relationships with the child (i.e. one child has one id, one name, one age, one school etc.), so I'm also wondering if embedding is even necessary.