Add exception to json.load() because some methods to api return empty re...

...sponses.