Support Angular Object literal for returns oif