Returned correct part of the response in get_network_traffic

Instead of returning the entire response, only return the content.