Using tuples instead of dicts on API settings