using json for settings