Add date en/decoding to JSON.

This is an experiment. Are we sure that the patching in PlominoUtils will
always happen before we use json?

If this is OK, I think the `json_loads` and `json_dumps` methods can go away.