Support returning of hetero tuple
Merge pull request #750 from sklam/fix_return_tuple

Support returning of hetero tuple