put limit on inspect of objects to avoid stack overflow