Fix issue #520: Allow null to be used to omit Diet template attributes