I have a doc with array of elements,I would like to do map/reduce after unwinding the doc. how can i do this?