Fixed JSON output for search topics by hour.