Convert JSON to Hours objects