makes loading the json from config and data file mroe secure
data is now individually sorted out if it can't be parsed
fixes programm not realizing it uses an empty data set, because of an empty file or all data being deleted as bad json