Bug 990047 (1/2) - Add a shared function to load JSON files

Add a shared function to load JSON files
and use it throughout gaia to replace the
existing ad-hoc functions
This function will never be called as the error condition won't trigger. Replace it with ``done``.