Bug 881862 - Control the network type from the json file

https://bugzilla.mozilla.org/show_bug.cgi?id=881862