Add isodate to ommongodb when a template is used

Add isodate format support to ommondb when template is used.
Fix json-c/json detection