json now serializes dates