fix possible null pointer exception if a document browser configuration is not a valid json file