Add network key to statistics.json, close #5042

Do we even need to add a changelog entry for that?