NaN => null

I'm having trouble parsing `NaN` - this is the best way I can think of to handle it.

What does everyone think?