Function for generating keys to use in a Redis database
An extension of node-fetch that provides retries, timing and logging