Handle mixed return types: array of objects, or simple object...