refactor to use JSON format for settings file rather than yaml.
moving to json for settings file