Bug 881862 - Control the network type from the json file r=jaoo

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