make `datetime.date` object json serializable