Fix for API now supplying obj instead of arr