Ok, so i don't understand what this means, in chrome console's I got this :

Now why is the cat4 property an Array of 0 element but has properties cat5 ? Here is what i get with JSON.stringify() :
{
"cat0": [
{
"category": "cat0",
----...other properties here ...----
}
],
"cat4": [],
"cat7": []
}