A function to allow expanding the object/array in console. NOT working on dom elements or functions as I use JSON.stringify.