fix up handling objects / arrays as the text being viewed/editted - lets just turn it into formatted json