Fix deserialization of NULL values, varints, decimals and IPv6 values