change deserialization of None values