change date handling to make CAISO work with json