See: https://github.com/serde-rs/json-benchmark/issues/15#issuecomment-643569709 rapidjson is very fast when it comes to printing float numbers, we should find out why and see if we can adopt their logic.