Handle INF, -INF and NAN through special types instead of storing the float as a string
Fixed JSON serialization of NAN. Added some more tests for floating point numbers.