Added JSON based network logging