fixed bug with JSON writer so you can write Date and Time (in format supported intenrally by variant class - iso8601) - and added to regression test