json logging working for networks