Oh no.

My parser/serializer does the same.

How could that be fixed? Anything better to serialize NaN to than NaN? Or parse NaN?