stream builder returns hash with ids