use list of bytes rather than array
Merge pull request #19 from stackmob/fix-in-memory-cache

Fix in memory cache