clearing out json file before reading/setting config