Use json to store config info