TST: raise an error json serialization of floats that cannot be accurately represented

DOC: doc updates for small_float errors