serialize and deserialize tuple2 and tuple3 of primitives
bump to 0.5.171