Lua map-reduce implementation based in MongoDB.