stop using objectTree part, moved functions to JSONViewer class