async map reduce for leveldb