Make Double have a lower priority than Integer and Long during serialization