Druid and Non Numeric Values

Hi, I am trying to ingest a JSON file that in the metricsSpec there is a numeric value that is a NaN.

In my log I am getting this exception

Caused by: com.fasterxml.jackson.core.JsonParseException: Non-standard token 'NaN': enable JsonParser.Feature.ALLOW_NON_NUMERIC_NUMBERS to allow

It is clear to me, that all I have to do is enable non numeric values, but I could not find where I can do it.

Can someone help me?