new check for proper JSON data from server.