Tweaked the coercing of ints and floats in encodeAny() to not assume that all ints are int64.