Return array instead of object