updating google api iterator to deepmap