made a more general definition of nested data ==> called systematically
if a dict-like object is found