add datetime support for json