NaNs and infinite RealFloats are encoded to Null
Refactor the FromJSON instance of Fixed