Fix issue #520: Allow null to be used to omit Diet template attributes
Merge pull request #521 from nazriel/issue520

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