Implementing a groupjoin mapper