Fixes a warning that appears if a JSON data file is empty.

If you leave the JSON data file empty PHP will throw a warning.

Now it will stop loading the page. Note: Will have to look into proper error handling for Ultraform soon.