Improving performance of mongoid-cached-json.