checkin of map/reduce couch base funcs