tidy settings
supports local settings in json