Bug 1062803 - Replace the custom functions used to load JSON files with ...

...the new shared helper in the system app

https://bugzilla.mozilla.org/show_bug.cgi?id=1062803
nit: Don't remove whitespace unless you have a reason to