unify dims data and sessions data
add and use mapreduce_common