convert dictionary option to true&false