Move devices settings to the JSON file