fix caching responses from flattening data
upped version
Merge pull request #37 from natgeo/bf/cachefix

Bf/cachefix