test jsonutil handling of dates