Favor Integer and Long over Double during serialization to BSON