JSFiddle - React, Tailwind, and code Playground

JavaScript

var response ={
	"active_chats": {
		"rows": {
			"2": {
				"id": "2",
				"nick": "bart",
				"status": "1",
				"time": "1453463784",
				"user_id": "2",
				"hash": "183c12afef48ea9942e5c0a7a263ef441039d832",
				"ip": "::1",
				"dep_id": "2",
				"support_informed": "1",
				"has_unread_messages": "1",
				"last_user_msg_time": "1453476440",
				"last_msg_id": "11",
				"wait_time": "5171",
				"user_tz_identifier": "Europe/Paris",
				"nc_cb_executed": "1",
				"user_closed_ts": "1453470674",
				"department_name": "ECODEMO"
			},
			"3": {
				"id": "3",
				"nick": "robert",
				"status": "1",
				"time": "1453470058",
				"user_id": "2",
				"hash": "0fae69094667e452b5401552541602d5c2bd73ef",
				"ip": "127.0.0.1",
				"dep_id": "2",
				"user_status": "1",
				"support_informed": "1",
				"user_typing": "1453479978",
				"user_typing_txt": "Gość opuścił chat!",
				"last_msg_id": "10",
				"wait_time": "3285",
				"user_tz_identifier": "Europe/Paris",
				"nc_cb_executed": "1",
				"user_closed_ts": "1453479983",
				"unanswered_chat": "1",
				"department_name": "ECODEMO"
			}
		},
		"size": 2
	}
}

for(var row in response.active_chats.rows)
{
    for (var key in response.active_chats.rows[row]) {
       console.log(key + " => " + response.active_chats.rows[row][key]);
    }
}