Omit collection keys from JSON
Omit collection keys from JSON

Varien collections naturally use their items' IDs as array keys.
When output as JSON these become object keys but objects are unordered.
A client iterating over JSON might get the order wrong.
XML output already drops the keys and preserves the order,
it's only fair to keep the results as similar as possible.

clockworkgeek/Magento-Extra-RESTful