Deduce format of settings.