split the nested_objects code onto another module