Datetime objects are not JSON serializable.