Date end correction / sort order

Data points for a given module are requested in descending date order, so no need to reverse the array in the response.
End dates incorrectly come through from the API as midnight of the following day, so allow this to be corrected. This correction should move to the API itself in future.