this is my JSON structure:
var json = {
procedure: {
    id: "content",
    child: {
        154: {
        class: "sequence nest",
        text: "LED Ausgeben",
        id: 154
        }
    }
}    
};
For some reason prop in for (var prop in scope.child){} is only a string instead of the object scope.child.154 as you can see below at Watch Expressions.

any ideas why? i tried specifying JSON objects with "154" but it doesn't matter. do their names have to contain characters aswell?
here is the fiddle: JSFiddle but you have to use the browsers console. to check it, press on the folder icon.
cheers!
 
     
     
    