An extension of json: but one that (naively) handles dates.