I'm passing a [FromForm] string param to a .net 6 web api controller. Looks like this.

```
public async Task<Dictionary<int, ReturnDataModel>> GetData([FromForm] string sensorData)

```

I am deserializing the string to a model .. Looks like this.

```
Data = JsonConvert.DeserializeObject<UserSubmittedSensorDataModel>(sensorData);

```

It deserializes all stand alone POCO's without fail , but it won't process the ExposureInputs model... Just remains null. I know that if I was to put that those in this model, it would deserialize fine, but I was wondering why it won't deserialize in this manner?
The fields all align and are correct when I submit them. The mapping just doesn't seem to work for any model embedded in the base model. Is there a way to do this?

here's the model class

```
public record UserSubmittedSensorDataModel
 {
     public string? SensorType { get; init; }
     public string? ExposureType { get; init; }
     public ExposureInputsModel ExposureInputs { get; init; } // This won't deserialize
 }

 public record ExposureInputsModel
{
    public string? ExposureType { get; init; }
    public string? StandardTestMethod { get; init; }
    public string? OrganizationStandardNumber { get; init; }
    public string? ExposureLocation { get; init; }

}

```