Fixed recursion bug when sub-objects are found, as well as arrays