Fixes a warning that appears if a JSON data file is empty.
Merge pull request #87 from HSWebteam/server_fix_empty_json

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