Your best option would be just to foreach the result and build any custom array format you need. You can even take it one step further by defining a method in a BaseModel which does this. Of course if you need it frequently in your application.