CORE-5042 Refactored stat endpoint response formats.

Added id and path fields, and updated size/created/modified to file-size/date-created/date-modified to be consistent with other listing endpoints.
Updated the date-created and date-modified fields to just longs rather than strings.