var source = JSON.parse(value),
	data = [];

source.connections.forEach(function(v){
	data.push({
		"{#ADDRESS}": v.remote_socket_address,
		"{#CLIENT}": v.remote_socket_address.split(':')[0],
		"{#TYPE}": "connections"})
});

source.secure_connections.forEach(function(v){
data.push({
	"{#ADDRESS}": v.remote_socket_address,
	"{#CLIENT}":v.remote_socket_address.split(':')[0],
	"{#TYPE}": "secure_connections"})
});

return JSON.stringify(data);