Fixed decoder not setting None values

The decoder does not set the None value in the model for empty attributes