Like JSON.stringify, but preserve timezones in date objects and parse dates into Date object.