Added empty array return for api v2. Api v1 returns nil

Was this change intentional?