allow map-reduce's `mapDb` parameter to not be a string

this way, it's possible to pass another table for the index