Hardcoded working example

foos[foo][1][id] = F1 + foos[foo[1]][bar][1][id] = B1 + foos[foo[1]][bar][2][id] = B2

foos: {
  foo: { 1: { id: "F1",
              bar: {
        	1: { id: "B1" },
        	2: { id: "B2" }
              }
            }
       }
}