add missing variety handler for promises returning a object
Merge pull request #2199 from hanfer/master

add missing variety handler for promises returning a object