We are using this with http cache and Oj, and we see that @names sometimes is set to nil (we are not sure how), so setting `@names = {}` works for us.