Bugfix on isJson with empty string input