protect from json load empty file error