moved outside of loop so I can use this for the cache key.  Turns out you can't hash a dict.