MongoDB isodate

Add isodate to ommongodb when a template is used
Merged from @eczema repo.