Made all fields in RegistryValue.from_dict optional