Added empty array instead of null return for api v2. Api v1 returns null