Make `request` dicts locals instead of globals