Changed API back to returning Array. If I want to use it as an object I can handle that in my wp caching layer