add iterator and stream for dynamic mapper
travis profile only for jdk8