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

Yes, sorry, you are correct.