Fix deserialization of null