Move code from inspect_nested to nested_objects_string

ditch inspect_nested and add inspect_object
Tidy up