Fix Map Output key/value class when using reducers