Fix returning ArrayResolver instead of array