refining how and when nodes are constructed

consolidating where object and array processing overlap creating
redundancies