Fix the NaN in JSON time-series data: convert it to null