changed format of JSON to hour