having parsed an object of nested objects and nested arrays PHP is mixing them up. it works well on some objects but not on others
$f = json_decode($jsonObject, true);
example of nested objects that php recognises as objects:

examples of arrays which php recognises as objects in arrays:

examples of object which php recognises as an arrays:

if i begin mixing arrays of objects it no longer recognises simple objects, it interprets them as arrays.
how can i get php to fully recognise arrays and objects in JSON,